* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: radial-gradient(circle at top center, #718497, #29323c); */
    background: radial-gradient(ellipse at center, #fffeea 0%, #fffeea 35%, #b7e8eb 100%);
    overflow: hidden;

}

.container {
    display: flex;
    width: 90vw;
    max-width: 900px;

    height: 400px;
}

.item {
    position: relative;
    width: 60px;
    margin: 10px;
    cursor: pointer;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
    overflow: hidden;
}

.item .shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);

}

.item .content {
    display: flex;
    position: absolute;
    left: 10px;
    right: 0;
    bottom: 10px;
    height: 40px;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.item .content .icon {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.item:nth-child(1) .fa {
    color: #fc6e51;
}

.item:nth-child(2) .fa {
    color: #ffce54;
}

.item:nth-child(3) .fa {
    color: #2ecc71;
}

.item:nth-child(4) .fa {
    color: #5d9cec;
}

.item:nth-child(5) .fa {
    color: #ac92ec;
}

.item .content .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
    color: #fff;
    width: 100%;
}

.item .content .text div {
    width: calc(100%-70px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.item .content .text .tit {
    font-weight: bold;
    font-size: 18px;
}

.item .content .text .sub {
    transition-delay: 0.1s;
}

.item.active {
    flex: 1;
    margin: 0;
    border-radius: 40px;
}

.item.active .shadow {
    background: lonear-gradient(to top, rgba(0, 0, 0, 0.35) 65%, transparent);
}

.item.active .content {
    bottom: 20px;
    left: 20px;

}

.item.active .content .text div {
    opacity: 1;
}

.sea {
    width: 100%;
    height: 5%;
    background-color: #015871;
    position: absolute;
    left: 0;
    bottom: 0;
}


.wave {
    background: url("/images/images/svg/wave.svg") repeat-x;
    /* background: url("/images/images/wave.png") repeat-x; */
    
    width: 6400px;
    height: 198px;
    position: absolute;
    top: -198px;

    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

.wave:nth-child(2) {
    top: -175px;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite, swell 7s ease infinite;
    animation-delay: -0.2s;

}

@keyframes wave {
    0% {
        margin-left: 0;
    }

    100% {
        margin-left: -1600px;
    }
}

@keyframes swell {

    0%,
    100% {
        transform: translate(0, -25px);
    }

    50% {
        transform: translate(0, 5px);
    }
}